delay ad delayms now produce accurate delays
Updated prescaler
Added a variety of small bug fixes to clock and init code