fixed bug where freq array was not aligned on word boundary.