fix a bug in rnorm layer
mv scripts to scripts dir