Update geometry.py

Mistake in the use of scipy.dot inputs.