Mesh flattening almost complete, now implementing element validation
Simulation core code working (maybe?)
Move flattened mesh code into its own file
Clode cleanup
Tests running, many failing