Bugs fixed & new weighted least squares in CDifodo

The weights which ponder the least square system are now calculated as a
function of each equation's variance, instead of using a heuristic rule.