Z Transform Theory and applications