Got rid of lmheap.c, consolidated code in lm.c
reintroduced logB heap
Not handling logB>0 bug fixed.