Added fringe coefficients

reduced the amount of indexing that the calc3d does.