removed input matrix shared spec
refactored weights to be able to alter dynamically
stubbed spec for weights