added rudimentary matrix prototype