calculate pricipals for specific interest