Updated mean to process multiple columns
Fixed three typos