Changed names of angles.m and rot_matrix.m to avoid conflicts