Update mteFunctions.pas

fixing accidental reversion