Compute the torque of the current FEMM simulation result :param femm: client to send command to a FEMM instance :type femm: FEMMHandler :param FEMM_dict: dict containig FEMM parameters :type FEMM_dict: dict