fixed out of bounds issues, and changed the template dataset to one that Bruce sent from the current tool, thus changing the bounding box to the proper domain.