Various bits of matlab code, for public consumption. Much of this was made for in-house use, so code and comment quality may be poor. Use at your own risk. All .m files have have their extension changed to .txt to get around some security filters – change the extension back to .m prior to use.