Advice from Mark Cuban helped Herjavec score a much bigger sale price for his cybersecurity company.