added scipy algorithms