More readable ifs in pointRadius function