Method to evaluate systematic uncertainties due to magnet misalignments in electric dipole moment measurements using a storage ring. (14th December 2021)