Cleaned up whitespace / formatting and fixed copyright header.