First commit - geometry, ev calc, and wp calc.