Leibniz on Aristotle's Logic and Metaphysics