Fixing the pokuyatools value of the frequency

The function sphan(x). The frequency returned by the function was the
position in the vector instead the value.
Signed-of-by: Santiago Sanchez<koguiman@gmail.com>