Determining the attitude motion of defunct satellites