Starting from scratch. Just working on the math right now, there is no proper file or code structure. Ill throw that in later