made package, rearranged code
updated testing to a starting point for matrix methods