version 0.0.3, gamma inv bug fixed