Removed libnoise and added own noise code