Modified StackConverter to check if input is imagestack. Modified projection method to max_method.