A simple implementation of PAM for K-Medoids in python using numba and theano