bug fixed Transformation::getParameter

default values are returned if requested value doesn't exist
Same comment as above the ternary can be removed and this block refactored into a simpler form