Fixed a bug in gretna_efficiency.m