I'm not sure about add-ins, but it seems like you could define a table of variables containing scalar values to convert various units to a particular unit system, MKS for example. Every unit of length that you wanted to include could be assigned a scalar value equivalent to its length divided by one meter, etc. Any calculations could then reference the appropriate variables; =5*foot would return 1.524 (foot = 0.305).