added some stuff on learnig MPS