The program I'm having trouble with is the Morphologic Time Loop (page 27), which calls all of the previous functions.
Especially it calls U1() from page 14 and this routine (don't know if its the only error) throws the mismatch unit error which Richard spotted - see below.
You are trying to add three summands which all have different units. All three subexpression must have the same unit, of course, if you want to add them. It's impossible that the sheet should have worked OK in Mathcad 15!
Even though you might have done something wrong with this function the mpl_exception error should not have been occured and therefore I still call it a bug in Prime.