add .idea to .gitignore
add elementary matrix functionality