Predictions of antagonistic muscular activity using nonlinear optimization