Moved primitives out to a separate file
Added random primitives
moved util functions out to a separate file
Fixed bug in pushFrame when dealing with no frame shifts
Fixed bug in oscillate that causes end values to be repeated