Added new inputs for additional stats and fixed existing A* calculations.