Calculating the Isgur-Wise function on the lattice