Changed the file.. added methods for resample area
changes in computeflow() to accomodate changes for resampleArea()