Lots of Changes.

Added Layer.cs Solver.cs and TEMGeometry.cs and filled in each.
Commented uncommented code.