Added test and function to compute the mean pressure weighted wind of a given layer