Model for Study of Malware Propagation Dynamics in Wireless Sensor Network