Added matcaffe_init to easy reuse of caffe initialization