adds documation as well as multiple datatype support to equations