Merge pull request #1192 from daniyall/issue_1003

Fixed issue 1003 regarding how average is calculated.
Merge pull request #1394 from tiagochst/issue-1388

Closes #1388: when marks are not used in assignments, releasing marks produces an error.
Updated Changelog