function J=petl_opt(X)
%input file for nominal optimalisation of genpelt.m
global hessflag
%splitting X into x and u 
%d=[X(109);d];
% Objective
J=X(106);	%boilup VB

