Miscellaneous Functions for math, plotting, printing,