code: function regress(jMatX,jMatY){
      //print("regressin!");
      //print(jMatX.toArray());
      var innerinv = jStat.xtranspxinv(jMatX);
      //print(innerinv);
      var xtransp = jMatX.transpose();
      var next = jStat.matrixmult(jStat(innerinv),xtransp);
      return jStat.matrixmult(next,jMatY);
  
    }
docs: regress and regresst to be fixed