Added decoder calc to lecture 2