Implementation of Math::Project taken from previous SchemaView distribution