Update mykmeans3.py

cleaned up a few functions