Fixed a bug on generating gammatable.mat for Psychtoolbox.

Signed-off-by: ban.hiroshi <ban.hiroshi@gmail.com>