Black-Box Control for Linear Dynamical Systems