Revert "Revert "Revert "modifying jRhoW function. Works 3 times faster"""

This reverts commit 53a5d845dae480c736d5547ea87cdefd9a37e57b.