made position variables floats
added getters and setters