image learn pipeline cleans up the script to set up things. ( and plots patches and kmeans centres). kmeans is currently not working properly (looks like many centres are unused?)