Fix bug in Peano curve generator

There was integer division instead of floating point