added a simple gitignore
fixed unpack bug in shear calculation