added orthogonalize class