This function ensures that physical constant inputs are properly formatted.
Usage
constants(.x)
Arguments
.x
A list to be constructed into constants. If units are not provided,
they will be set without conversion. If units are provided, they will be checked and
converted to units that tealeaves uses.