discrete and continuous sine wave generation library for Java