Parameters are n, k1, k2, g and width and height. Reset to start again with new parameters.
Source