small problem with averaged price being NaN but Math.round() turning it into 0 has been solved. Next on the agenda is understanding how Cheater pricing messes up purchase prediction