Merge pull request #14 from steenpass/andreas

update A[k], D[4] and D[k], k>4; introduce new format for algorithms