implemented da.updatecursor to speed up curve number query
Didnt control for lack of zonal boundary file parpameter. Added if statement to allow the zonal parameter to be empty
This code has been found functional on Arc10.2
This code has been found functional on Arc10.1 and 10.2