Repaired condition of intensity. Changed MapMax. Replaced macros for debug and dt.