add some math theory and desc. of algorithms