Added quaternion inverse and application functions. Also modified gitignore for temp files.