I did a bunch of tests and found inconsistencies with the formulas so I fixed them (for good this time). I tested the weather transitions and found I'm happy with the rain density overlay as it was so no changes there. Sorry for the mess.
Fixed a mistake with the relative wind rotation formula. Added a simple system clock overlay I did for myself. I'm now testing weather transitions and their effect on the rain density value. Will update the overlay if needed.