getRadicals function added

Untested