Add prediction link for least square, correct bug eigen dense matrix in prediction