Improved year fraction calculation

Now granular within the actual day
Merge pull request #2 from fabsh/master

Improved year fraction calculation