Rename method to follow class pattern
Upgrade commons-math
Refactor for easier lisibility
Remove deprecated dependency