Gain measurements on VCSEL material using segmented contact technique