toProj4 wasnt at the correct place in setEllipsoid as the members were not set there