Use slits and sample length to calculate the angular resolution properly