seperate the trained matrix loading to another function