Calculate 'receiving' as the result of last payday.

In response to #1127. I've prepared some simplistic tests. Am I heading in the right direction?