Bug-fix: MAVP's 'periods' input array not accepted by Function.set_input_arrays

This is a fix to ``Function.set_input_arrays``, which did not allow the MAVP-special case ``periods`` array as an input.