Added deep neural network class and rdmsqrtweight.