Doesn't compile, but has a lot of work done with modulus.  Will upload previously working one before coming back to this