Fixed negative whole number error, and divide operator error.