typo
data.frame column naming

Adopted the convention that data frames generated by the code have
column names that begin with an upper case letter.
Make location,mean more consistent

The location. functions should only deal with the first two parameters.
documentation tidy