Added new command to easily have units in math mode
Added option to infobox and warnbox

Added argument to infobox and warnbox, to allow the user to change the
boxes titles.
Made code more copyable