added if statement to calc_austereogram
partner completed function