Fixed constructor

Added type, iterations and period to the Class' constructor