complete dnn and cnn; adding display functions to dnn; adding data to common; change gradient_check.m and sigmoid.m from dnn/ to common/