Added new locality for allowing preallocated arrays.
Added warning.
Added .gitignore