fixed bkchain, first draft of authority calc
finished implementing calculation of authority