Latent Matters: Learning Deep State-Space Models