Fixed a bug in solve_biased. The method works quite stable now.