waaaaat
got it back to working order
added math functions like sin and cosine lookup
cleaned up, fixed conventions, added description