Wrote compute matrix as method for abstract feature
Added some utilities