removed printf that was there for debugging amount of calcs done