Added documentation for ortho_check function