Extracting single-trial neural interaction using latent dynamical systems model