Added functino to handle logging errors
Redefine CHECK_EQ to avoid core_dump in Matlab
Redefine CHECK_EQ to avoid core_dump in Matlab
Redefine CHECK_EQ to avoid core_dump in Matlab
Redefine CUDA_CHECK to avoid core_dump in Matlab
Redefine CHECK_EQ to print error message
Redefine CHECK_EQ to print error message
Fixed varargin in caffe_safe.m