fixed kernel wmd for updated wmd structure
Merge pull request #441 from sjsrey/wmd

fixed kernel wmd for updated wmd structure