Cube.collapsed docstring edited so weights mentioned at start