add heuristic LLL, tests and docs