Columns are constructed under the assumption that the periodic function
has period per on the x scale. Thus, the first columns
is defined as sin(2*pi*x/per), cos(2*pi*x/per),
sin(4*pi*x/per) etc.
Since sin and cos are periodic functions there is no
requirement that x be in any particular range.