Renaming variables, getters and setters mainly in GNGAlgorithm

Also I improved readability of code by changing empty spaces.