Added convertTo function to ValueOfLength

Contributes to #9