in https://github.com/marwafar/Photoisomerization/blob/master/initial-wf.py#L89 -tot_ygrid/2 return float in python3 return error so -tot_ygrid//2