Errors and documentation
* Correction of error when using integers in Math.pow: Math.pow(...,
1/2) changed to Math.pow(..., 0.5).
* Addition of possibility to solve non-generalized problems with a shift
* General comments added.