* disable buffering
* add functions logadd_m and logadd_ms
* add comment to disable debuging
* multiply signs and exp in one loop
* add header for sfunc
* remove MAX, MIN. they are defined in sfunc
* use logadd_m to add