Relationships between straightness and angular kinematic errors in machines