Fixed a bug in task generation that was creating tasks with longer duration than the difference between their deadline and release time. This was causing the integer program to fail sometimes.