Ctd functions

Created CTD Functions (L2 calculations) under ION Functions and test functions