Use correct gain names.

Fixes a bug that prevented gain settings. Issue #90.