How Randy Newman re-invented himself with 'Ragtime'