3600 RAD2DEG*acos($bepi_xyz_hee[0]/sqrt($bepi_xyz_hee[0]*$bepi_xyz_hee[0]+$bepi_xyz_hee[1]*$bepi_xyz_hee[1]))*Sign(-$bepi_xyz_hee[1])