Check that the provided AgePrior is in the correct format
CheckAP(AgePrior)
AgePrior
matrix with 'MaxAgeParent' rows and columns M-P-FS-MHS-PHS
AgePrior in corrected format, if necessary