separated matrix creation method
fixed copyright notices
added html output format
updated documentation