Refactoring
Refix coordinates being swapped
Generate noise image in given range