fully prepared new case for testing
fixed a g=0 bug; tested case30, works