Added variable resolution factors and test

The edge and slope interpolations now use the variable resolution
discretizations. Previously I had used the naive uniform resolution
discretizations.