working weighted Lloyd's algorithm for Blue noise (see PyMongeAmpere)