Implemented simple and composite mean functions.
Added copyright file.