Fixed compilation bug on Mac.
Modified tests for spherical manifold.
Added tolerance to FlatManifold
Added corner case to test flat_manifold_03
Fixed spherical manifold in 3D. This is a bit of a hack, but I don't knonw how else to do this...