Implementation of higher-level math functions in Go. Often adapted form Numerical Recipies.