Fixed bug in PLL simulator

See http://forums.parallax.com/showthread.php/157387