code: function(n) {
      n = _.isInteger(n) ? n : 0
  
      return {
        x: n,
        y: n,
        data: _.map(_.range(n), function (num) {
          return [num]
        })
      }
    }
docs: returns the identity matrix for a given dimension