Simplified the arg_type_to_core_shape converter code a bit. Also implemented a arg_type_to_core_shape converter for a std::vector<boost::python::object> to a 1-dim. core shape, that could be useful in the future.