Settlement reached in marijuana machine suit