Choose

Added choose function to copy numpy.choose function.
Add in  tensor/var.py an choose() method as ndarray have one. Implement infer_shape.