1st attempt to fix if maxH and maxW are requested

Luke I think I caught all possibilities but testing will tell. 

I think we should also remove the code that can return non even numbers for w or h it would be better to just return even numbers (imo)