Update Manifold.py

Checked some indexing and matrix multiplication issues