Some basics, no where near complete.
Calculations laid out, still testing and commenting code