Made the following changes
1] Added docstrings for linear, abaco2_general case
2] Reordered heuristics