Split method

See #125. hsplit, vsplit, split.