initial version
amend signature of dayCount and yearFraction to allow for null reference period