The implementation of ConvertToC for arrays was broken. Also change it to be templated on the returned array type, rather than passing the array. This makes the uses a bit more clean.