SUCCESS!!

Now all it needs is some polishing and math and it's good to go!