Testing DAE class, improving hardtanh actf, adding toLuaString method in MTRand