fix broken dependency lists in docs
updating internal flatten per latest _. add 'flatten' add 'range'