line out so on amps tend to be ok for clean stuff but really bad for distorted sounds. you have a couple of options here. one would be to mike the amps, if you like the sound they create, use a dynamic mike about an inch or so away from the speaker, something like an sm57 is the industry standard, you can also use a condensor mike a couple of feet away (need to watch your decibel level) to capture a second slightly different sound, this can give a bit of 'air' and by blendin the two sounds gives you more options at mix down. the position of the mike in relation to the speaker makes a massive difference to the sound, so experiment.
the other option is to get a small DI box (as your Yamaha has no instrument (hi-q) input), they can be bought for very little money, and go thru your mixer into Sonar to use with an amp-sim. There are loads available, including free ones such as FreeAmp3, and the ones made by
http://www.acmebargig.com/ which are particualarly good for freebies. check out studio devil too. of course, then there are the big beasts such as Guitar Rig 4, Amplitude 3, Revalver, Waves GTR. if you click on the link 'Dies Irae' below, all the songs are made using guitar rig 2 or 4.
you can use the out from your Cube to take the role of the DI box, but it is going to be coloured in some way no matter what you do. given that a passive DI box can be bought for less than $20. that's what i'd do!