changed int2 to float2 in the 'node' class

this caused major changes & there is yet to fix the optimisation methods
as they still use discrete steps