Added scale to the euclidean loss. This way a 1/n could be used to normalize it if required.