The workings behind UBS&#39;s smart bond platform