SHADOW macro to calculating energy resolution for a range of exit slit gaps on B07