change matrix multi to fit change of cpu
change learning.sh to print cur config