Some results on output algebraic feedback with applications to mechanical systems