Functions for Matlab/Octave that mostly should be used for fun.