Added assert  isArray and isNumber to the ol.proj.transform functions