The Theory of the Moiré Phenomenon: Volume I: Periodic