fixed the x coordinate problem on the free field, now the green func coords need fixing too
ok now this really works but needs to be more efficient