Im working on image recognition, in an image ("image" in code) i want to find within cluster sum of squares and between cluster sum of squares without using any li