Line fitting methods

Best fitting lines by [math]L_2[/math], [math]L_2[/math] and [math]L_\infty[/math] norms.