Fixed some discrepances and typos. Inmediate values are not straighfoward and not shifted, for simplicity.