Potential and mass-matrix in gauged N = 4 supergravity