Function used to apply periodic boundary conditions of the simulation, so that mock galaxies all lie in the range [0, Lbox].
coords : array_like
description of coords
box_length : scalar
the size of simulation box (currently hard-coded to be Mpc/h units)
1d list of floats giving coordinates that have been corrected for box periodicity