Provides support for oddly shaped buildings
Moves to shared_ptr for Materials

WARNING: Memory error causing crash!!
Makes variables a bit more intuitive
Switches coordinates so z is up
Fixes malloc bug