use float2D accessors to access values instead of accessing private variables where possible