added option to swap Z and Y values
added and updated gitignore