Fixed typo
Formatted code
Updated copyright header