Add separation of slits, fix integration error