Added setter method for sample frequency.
ArrayData does not require sample frequency in constructor.