avoiding division by zero for ortho()