Some Performance Change, Random Grid, etc

Got rid of unnecessary calls to functions with trig. Also added a
random grid builder feature which could be nice. Added more arguments
(daylight savings, number of threads)