Sine Cosine Lookup Tables in java for ruby-procesing