Add example of how to calculate gain ratio array