On the statistical distribution of wave heights in a storm