add the method to calculate function points.
add the method to calculate function points to Elf model.