Minor changes

Forgot about the floats, so I changed the doubles to floats again. I
also added the position variable to the Entity class.