Fix HSL computations
Merge pull request #33 from PhiLhoSoft/HSLFix

Fix HSL computations