An instrument to measure horizontal and vertical angles