finished testing with test_cnn_switch.m!