coerce input data to doubles, make random weights 0-mean