change formAlphaMatrix and add documentation