I can recommend this book if you want to get into the nitty gritty of it all: Deco for Divers: Decompression Theory and Physiology
It is a tough slog to read but really does explain it all in excellent detail
Looks like Deco for Divers is back in print as of December 2014