Updated version for tickets #699 and #729
Improved calculation speed of two matrix functions Fixed a tiny problem in replaceall()
Authored by: numere 2022-10-13
Parent: [r1232]
Child: [r1234]