normalized pixel distance
merge conflicts solved
class hopfieldNetwork fixed and function runAndPlot() created with previously committed lines