Analysis, optimization and identification of lumped continous systems with time delays via Walsh functions