Calculating hansen solubility parameters of polymers with genetic algorithms