final changeeees in buckconverter matlab file