CM-UTAD, University of Trás-os-Montes and Alto Douro Mathematics Department P5000-911 Vila Real Portugal