Low-cost inclinometers for high precision