reworked fillintest.m, added randomScaling generator