Using instancetype instead of id for initializers
Correctly using floats (instead of integers)
General cleanup