added 'apply' wrappers for matrices, including a drop arg for type coercion