Added projection of 2d line onto 3d plane (resulting in 3d line), and new inits for lines