Working prototype.

Accuracy changes and I still dont know why.