Changed 0s to periods
Removed debug statements, cleaned up comments