Fix WCLength (modified version)

Fixed the problem that WCLength was not changed when the HyperK detector... length was changed.