add .gitignore
update to latest core.matrix 0.15.0, fix matrix construction to pass
compliance tests