Optimal arbitrary time-delay filtering to minimize vibration in elastic manipulator systems