WIP
Added test and fixed errors.
Wind stats calculator and test OK.
Wind stats calculator on the client should now be complete (but is not
yet used).