Added method principal_component