Fixing neighbourhood operator to allow for floating point