Added tests for plane / line fitting
Changed to use unittest assertions instead (they're clearer and in general work better because the expressions aren't evaluated as a statement, so I can write them over multiple lines unlike with plain asserts)