bugfix for number of spectrum points

making sure that it is an integer value...