Cleaned up gain factor definitions