Finish notes, fix bug in stack-calculator