Converted simplex noise to RequireJS class