lots of changes to positioning

changed pos variable to doubles for extra accuracy and smoothness
added speeds for x and y, allows for acceleration / jumping