changed the random logspace generator by renaming it and checking the calculations