added calculations to tracpy class for some derived parameters