fix bugs:
SqrtGradientOperator: divide by zero
EltwiseProd: rescale function generates NaN

add DEBUG Macro in layer.cu