Changed some constant names to reflect pseudocode documentation