Removed extra NumberFormat calls from loops. Resolved #23.