Fixed serious typo in loop which caused P to be very wrong. Set initial values more elegantly. Made pretty continuous printout.