Added function reshape::cast() to the namespace