Updated viennacl code to use new generator interface

@karlrupp, I hope I did everything right. Will the fact that custom_operation
instances are now non-static affect performance?