Machine Learning Applications In Spacecraft State And Environment Estimation