updated wil all explanatory comments and fixed array bug
got word alpha matrix working