added floating point implementation of rational. value iteration seems to be working