Gradle Tweaks and Dense Random Polynomial Function implementation