removed standalone vec2vertex, as it has been moved to imageProcessor.