rand init, resize 20x20, mean norm

added random initialization for parameter vectors. resized images to
20x20 (400 pixels) to adjust network. each feature is now defined as
(sum of RGB values) - (mean of sum of RGB) / (256 * 3), mean normalized.
fixed typos, added more auxiliary methods.