added Math.max, Math.min, int casting for Math.max and removed .intValue
added Math.max, Math.min, int casting for Math.max and removed .intValue

maggienj/ActiveData,klahnakoski/ActiveData,maggienj/ActiveData,maggienj/ActiveData,klahnakoski/ActiveData,klahnakoski/ActiveData,maggienj/ActiveData,klahnakoski/ActiveData