add Macaulay Duration calculation