Output written in file
Normalized real dataset function added