Modelling of dynamical system and generalised circulant matrix in image encryption