Finish the code to output the mean flow ASCII files and modify the inputs to only require the depth distributed horizontal velocity components (rather than separate arrays of the depth averaged ones. We can calculate depth averaged from the depth distributed values)