Ver 2 works fine, Ver 3 needs xls ouput

Version 2 will now take a polygon layer in and give a good output  (turns out the issue  was needing a bounding box rectangle for the raster clipping tool that took inShape)

Version 3 is kind of a messy copy of V2, needs the Excel output functions