Added ability to calculate energy and cross section grid sizes.