added normalise_input function
Merge branch 'master' of https://github.com/savavel/Group8