Calculates the properties of a non-interacting particle in a periodic square well potential