Some numerical algorithms - Just for fun.