updated square saw prime to work with sine class constructor output