added some failsafes against vectors being treated as matrices by my code, which generates errors (wrong dimensions) - added some 'drop's'