Fixed a few typos to get the calc means code running