Change for difference in basegratingdeg

Signed-off-by: Lindsey <glickfeld@neuro.duke.edu>