Refactor towards pandas more

- Average dividend period refactored to use pandas
- Yield between refactored to be more elegant