Changed lists to tuples in order to make them indices.
Computing the first part of dU.
Error corrections and dU furtger inplementation.
Implemented calculation of the second order. Now debugging.