ignore binary output and image
changed a lot..
doing floats instead of doubles, dont need that extra precision.
still cant get it to work as I want, commiting to push