UAS: Fixes #399 issues with conversion from floats not being cast to double.
UAS: Update conversion to use Plain Old Types to avoid conversion errors.