Title: Servo compensation for mechanical resonances and feedback loops