weight function spectra is now calculated correctly when using rotated grid