Fixed registration of linear object direction vectors; fixed calculation of vectors orthogonal to a line.