RPD curve simplifcatino borrowed form curve simplify addon

Citation needed
poly sketh rough draft
added in the temporary object creation to compensate for modifiers

I think this fixes the issue
validation addition to check for length of modifiers