Improve LOBESElementResponse basefunctions caching
During the work on AST-718 there were issues with multiple threads manipulating the basefunctions_ of a single LOBESElementResponse object.
When the caller didn't initialize basefunctions_ the function creates its own local object, making the code thread-safe.
Edited by Mark de Wever