Fixed silly mistakes

Math, population update