Bug fixes for stats and added documentation, stats almost match old stats