Handy functions or modified functions

This is a horrible way to store this, I know I know! Maybe when the kids leave home or the PhD is finished I'll tidy all these hacks into a package...