Removed extraneous function

Removed createImageGroup as it was no longer being used.