Added some documentation to acquisitionfunction.
Fix #37. Reopening #29. Restructured compute_max code to work in the most general class, AcquisitionFunction.