cast hidden layer to ]0, 1[ for cross-entropy structural damping