Added in Timer's transmutation code.
Still need to add more checks to see if daylight sensor is geting power.
Reformat to code, to make it neater :)