Fix WCLength

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