Leibniz' Solution to the Mind-Body Problem