SW-289-Change-spatialmath-s-constructor-to-check-for-a-list-before-access-first-element