int) { return Math.pow(point[0], 2); });
  f.push(function(point) { return Math.pow(point[1], 2); });
  f.push(function(point) { return point[0]*point[1]; });
  f.push(function(point) { return Math.abs(point[0]-point[1]); });
  f.push(function(point) { return Math.abs(point[0]+point[1]); });

  var transform = function(point, f, k) {
    var result = [];
    for(var i = 0; i <= k; i++) {
      result.push(f[i](point));
    }
    return result;
  };

  window.transformDataSet = function(dataSet, transformFun