Added package documentation. Allowed for more flexibility in specifying 'stochper' initial values and added checks on them. Fixed errors for P1 or P2 < 2. Changed most dependencies to imports.