Text this: Optimal Stochastic Control Problem for General Linear Dynamical Systems in Neuroscience