Add array input support for the thor functor grammar
Adapt the changes in Rec!3283 (diffs) and include the new array grammar to the MCReconstructed tool.
This MR also fixes two unexpected bugs in MCReconstructed.Chi2 and MCReconstructed.Chi2DOF.
This MR should be tested with: Rec!3283 (merged)
Edited by Jiahui Zhuo