evaluateConstants

Evaluates constants in given MST for given algebra at the same time with converting to TypedMst.