Update name of scipy function due to api change