added output options and adapted defaults to match matlab version
added output options and adapted defaults to match matlab version

warrenmcg/spladder,warrenmcg/spladder,warrenmcg/spladder,warrenmcg/spladder,warrenmcg/spladder