commit prior to development branch 'indexed'
Replaced some variables with indexed pointers and general editing.
Moved limb-allocation function to the array_copy code. Plan to revise the random number generation in next commit.