insurance payout script in matlab