Fixed bug in yearly summary: standard deviation was incorrect for partial years