Fix wnorm and wcor for 1d-shaped case