Removed N calculation as it was incorrect