removed summed code, fixed new rounded code (still had some 'test' in it where it should have been changed to rounded)