Adding more documentation; fixed non-integer cash