Remove factorial include since the header no longer needs it
Test code for objective function calculation