traintest.m & experiments.m not yet finished