fixed sun.rise.set

the real fix was that is.night called is.daytime, not is.day. I also fixed indentation and assignment <-