Normalise the input to 0 to 1