My latest version of the special matrix functions script.