Semi-analytical implementation for the name concentration measurement in a credit portfolio