Fixed bug in calculating n2. Kinda silly fix, but tests pass