Added working 1a and 1b, updated 4c with optim results