clean up mex compilation script
clean up compiler script & add sparse function
add test for dense connectome
add .gitignore
add build (typical cmake dir) to git ignore