solved index safety issue in the efficiency matrix. this will be better with maps
fixing readme