Choose

Added choose function to copy numpy.choose function.
Shorten the line length.