Standardized header guards and added copyright notice