Extension of minimum variance estimation for systems with unknown inputs