added getQuad
Merge pull request #14 from jaypoulz/max3

added getQuad